]> dgit.raspbian.org Git - gnome-shell.git/commit
Fix regressions in the item displays
authorMarina Zhurakhinskaya <marinaz@redhat.com>
Thu, 1 Oct 2009 21:41:17 +0000 (17:41 -0400)
committerMarina Zhurakhinskaya <marinaz@redhat.com>
Thu, 1 Oct 2009 21:41:17 +0000 (17:41 -0400)
commiteb8176deeb1ee9ebe9450d19422ecdeb392380b6
tree259c11f0349451e2649b993f4ee27ae54e252bdc
parent956f89f37741a805465d3f4d1677dd1c96147779
Fix regressions in the item displays

Fix displaying documents in the document browse and refreshing the selection
when the results have changed.

Make sure we are passing the appropriate flag to _redisplay() in GenericDisplay.

Make sure we set this._appsStale to true if there was a change in the
applications set.

Don't call _refreshCache() from the AppDisplay constructor.

Don't short-circuit the call to _refreshCache() from _redisplay() on initial load.

Rename _redisplayFull() to recreateDisplayItems() and remove adding an
actor to the actual result list in _addDisplayItem() because we redo adding the
actors to the list in _redisplayReordering() anyway to ensure that we add
them in the right order.

Based on a patch from Colin Walters.
js/ui/appDisplay.js
js/ui/docDisplay.js
js/ui/genericDisplay.js